﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.franchise.validation {
    import flash.utils.*;
    import Classes.*;
    import validation.*;

    public class FranchiseValidationUtil implements IValidationUtilClass {

        protected var m_validators:Dictionary;

        public function FranchiseValidationUtil(){
            this.loadValidators();
        }
        public function getValidationCallback(_arg1:String):Function{
            return (this.m_validators[_arg1]);
        }
        protected function loadValidators():void{
            this.m_validators = new Dictionary();
            this.m_validators["checkFranchise"] = function (_arg1:Object):Boolean{
                var _local2 = !((_arg1.check == "false"));
                return (((((this is Business)) && ((this as Business).isFranchise())) == _local2));
            };
        }

    }
}//package Modules.franchise.validation 
